package com.zqweb.gulimall.member;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

@SpringBootApplication
@MapperScan("com.zqweb.gulimall.member.dao")
@EnableDiscoveryClient // 开启服务发现与注册（Nacos-Client端）
@EnableFeignClients(basePackages = "com.zqweb.gulimall.member.feign") // 开启Feign的远程服务调用
@EnableRedisHttpSession // 开启HttpSession的Redis存储支持
public class Member_MainApplication {
    public static void main(String[] args) {
        new SpringApplication(Member_MainApplication.class).run(args);
    }
}
